/*
 * @Author: your name
 * @Date: 2021-08-06 10:32:21
 * @LastEditTime: 2021-08-18 14:06:01
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \golte-starlife-admin2\src\router\index.js
 */
import Vue from 'vue'
import Router from 'vue-router'




Vue.use(Router)
const originalPush = Router.prototype.push

Router.prototype.push = function push (location) {
  return originalPush.call(this, location).catch(err => err)
}
const router = new Router({
  routes: [
    {
      path: '/',
      redirect: '/login',
    },
    {
      path: '/login',
      name: 'login',
      component: resulte => require(['@/components/login/login'], resulte),
      meta: {
        needLogin: true,
        title: '登录',
      },
    },
    {
      path: '/homeList',
      name: 'homeList',
      component: resulte => require(['@/components/homeList'], resulte),
      meta: {
        needLogin: true,
        title: '商圈列表',
        designation: "商圈管理"
      },

    },
    {
      path: '/repairInfo',
      name: 'repairInfo',
      component: resulte => require(['@/components/repairInfo/repairInfo'], resulte),
      meta: {
        needLogin: true,
        title: '报事报修详情',
        designation: "报事报修详情"
      },

    },


    {
      path: '/repairCount',
      name: 'repairCount',
      component: resulte => require(['@/components/repairCount/repairCount'], resulte),
      meta: {
        needLogin: true,
        title: '报事报修统计',
        designation: '运营管理'
      },

    },
    {
      path: '/propertyPayCount',
      name: 'propertyPayCount',
      component: resulte => require(['@/components/propertyPayCount/propertyPayCount'], resulte),
      meta: {
        needLogin: true,
        title: '物业缴费统计',
        designation: '运营管理'
      },

    },
    {
      path: '/home',
      name: 'home',
      component: resulte => require(['@/components/Home'], resulte),
      meta: {
        needLogin: true,
        title: '新增商圈',
        designation: "商圈管理"
      },

    },
    {
      path: '/homeTwo',
      name: 'homeTwo',
      component: resulte => require(['@/components/homeDetails/home'], resulte),
      meta: {
        needLogin: true,
        title: '编辑商圈',
        designation: "商圈管理"
      },

    },

    {
      path: '/goods',
      name: 'goods',
      component: resulte => require(['@/components/goods/goods'], resulte),
      meta: {
        needLogin: true,
        title: '商品管理'
      },
    },
    {
      path: '/add-goods',
      name: 'addGoods',
      component: resulte => require(['@/components/goods/add-goods'], resulte),
      meta: {
        needLogin: true,
        title: '添加商品'
      }
    },
    {
      path: '/edit-goods/:goodsCode',
      name: 'editGoods',
      component: resulte => require(['@/components/goods/edit-goods'], resulte),
      meta: {
        needLogin: true,
        title: '编辑商品'
      },
    },

    {
      path: '/newly',
      name: 'newly',
      component: resulte => require(['@/components/staffAdminister/newly/newly'], resulte),
      meta: {
        needLogin: true,
        title: '新增编辑员工',
        designation: '员工管理'
      }
    },
    {
      path: '/totaloverview',
      name: 'totaloverview',
      component: resulte => require(['@/components/totalWorkOverView/totaloverview'], resulte),
      meta: {
        needLogin: true,
        title: '员工排班表总览',
        designation: '员工管理'
      }
    },
    {
      path: '/goodsConfigList',
      name: 'goodsConfigList',
      component: resulte => require(['@/components/goodsConfigList/goodsConfigList'], resulte),
      meta: {
        needLogin: true,
        title: '商品配置查询',
        designation: '商品管理'
      }
    },
    {
      path: '/housekeeperDataSync',
      name: 'housekeeperDataSync',
      component: resulte => require(['@/components/housekeeperDataSync/housekeeperDataSync'], resulte),
      meta: {
        needLogin: true,
        title: '管家信息管理',
        designation: '基础管理'
      }
    },
    {
      path: '/staffAttendanceRecord',
      name: 'staffAttendanceRecord',
      component: resulte => require(['@/components/staffAttendanceRecord/staffAttendanceRecord'], resulte),
      meta: {
        needLogin: true,
        title: '员工出勤记录',
        designation: '员工管理'
      }
    },
    {
      path: '/staffAttendanceCount',
      name: 'staffAttendanceCount',
      component: resulte => require(['@/components/staffAttendanceCount/staffAttendanceCount'], resulte),
      meta: {
        needLogin: true,
        title: '员工出勤统计',
        designation: '员工管理'
      }
    },
    {
      path: '/projectDataSync',
      name: 'projectDataSync',
      component: resulte => require(['@/components/projectDataSync/projectDataSync'], resulte),
      meta: {
        needLogin: true,
        title: '项目信息管理',
        designation: '基础管理'
      }
    },
    {
      path: '/goods-area',
      name: 'goodsArea',
      component: resulte => require(['@/components/area/goods-area'], resulte),
      meta: {
        needLogin: true,
        title: '分组管理'
      }
    },
    {
      path: '/goods-classify',
      name: 'goodsClassify',
      component: resulte => require(['@/components/classify/goods-classify'], resulte),
      meta: {
        needLogin: true,
        title: '分类管理'
      }
    },
    {
      path: '/staffAdminister',
      name: 'staffAdminister',
      component: resulte => require(['@/components/staffAdminister/staffList'], resulte),
      meta: {
        needLogin: true,
        title: '员工管理',
        designation: "员工管理"
      },
    },
    {
      path: '/arrStaff',
      name: 'arrStaff',
      component: resulte => require(['@/components/staffAdminister/arrStaff'], resulte),
      meta: {
        needLogin: true,
        title: '单个员工所有工单',
        designation: "员工管理"
      },
    },
    {
      path: '/stafflist',
      name: 'stafflist',
      component: resulte => require(['@/components/stafflist/stafflist'], resulte),
      meta: {
        needLogin: true,
        title: '员工管理列表',
        designation: '员工管理'
      }
    },
    {
      path: '/roomRest',
      name: 'roomRest',
      component: resulte => require(['@/components/roomRest/roomRest'], resulte),
      meta: {
        needLogin: true,
        title: '房间信息',
        designation: '项目信息管理'
      }
    },
    {
      path: '/governingDetails',
      name: 'governingDetails',
      component: resulte => require(['@/components/governingDetails/governingDetails'], resulte),
      meta: {
        needLogin: true,
        title: '管辖详情',
        designation: '管家信息管理'
      }
    },
    // {
    //   path: '/staffScheduling',
    //   name: 'staffScheduling',
    //   component: resulte => require(['@/components/staffScheduling/staffScheduling'], resulte),
    //   meta: {
    //     needLogin: true,
    //     title: '员工管理',
    //     designation: '员工排版总览'
    //   }
    // },
    {
      path: '/skillConfig',
      name: 'skillConfig',
      component: resulte => require(['@/components/skillConfig/skillConfig'], resulte),
      meta: {
        needLogin: true,
        title: '员工管理',
        designation: '技能库配置'
      }
    },
    {
      path: '/urbanServices',
      name: 'urbanServices',
      component: resulte => require(['@/components/urbanServices'], resulte),
      meta: {
        needLogin: true,
        title: '城市服务管理',
        designation: "商圈管理"
      },

    },
    {
      path: '/management',
      name: 'management',
      component: resulte => require(['@/components/evaluate/management'], resulte),
      meta: {
        needLogin: true,
        title: '评价列表',
        designation: "评价管理"
      },
    },
    {
      path: '/appraise',
      name: 'appraise',
      component: resulte => require(['@/components/evaluate/appraise'], resulte),
      meta: {
        needLogin: true,
        title: '评价项配置',
        designation: "评价管理"
      },
    },
    {
      path: '/issueStamps',
      name: 'issueStamps',
      component: resulte => require(['@/components/issueStamps/issueStamps'], resulte),
      meta: {
        needLogin: true,
        designation: "优惠券管理",
        title: '指定发券',
      },
    },
    {
      path: '/discounts',
      name: 'discounts',
      component: resulte => require(['@/components/discounts/discounts'], resulte),
      meta: {
        needLogin: true,
        designation: "优惠券管理",
        title: '优惠券列表',
      },
    },
    {
      path: '/amend',
      name: 'amend',
      component: resulte => require(['@/components/discounts/amend'], resulte),
      meta: {
        needLogin: true,
        designation: "优惠券管理",
        title: '优惠券配置',
      },
    },
    {
      path: '/coupon',
      name: 'coupon',
      component: resulte => require(['@/components/discounts/coupon'], resulte),
      meta: {
        needLogin: true,
        title: '优惠券发放/使用记录',
        designation: "优惠券管理"
      },
    },
    // {
    //   path: '/homeConfig',
    //   name: 'homeConfig',
    //   component: resulte => require(['@/components/homeConfig/homeConfig'], resulte),
    //   meta: {
    //     needLogin: true,
    //     title: '首页配置',
    //     designation: "到家首页配置"
    //   },
    // },
    {
      path: '/noticeManage',
      name: 'noticeManage',
      component: resulte => require(['@/components/noticeManage/noticeManage'], resulte),
      meta: {
        needLogin: true,
        title: '通知管理',
        designation: "通知管理"
      },
    },
    {
      path: '/serviceNotice',
      name: 'serviceNotice',
      component: resulte => require(['@/components/serviceNotice/serviceNotice'], resulte),
      meta: {
        needLogin: true,
        title: '服务通知',
        designation: "通知管理"
      },
    },

    {
      path: '/smsNOtice',
      name: 'smsNOtice',
      component: resulte => require(['@/components/smsNOtice/smsNOtice'], resulte),
      meta: {
        needLogin: true,
        title: '短信通知',
        designation: "通知管理"
      },
    },

    {
      path: '/smsSend',
      name: 'smsSend',
      component: resulte => require(['@/components/smsSend/smsSend'], resulte),
      meta: {
        needLogin: true,
        title: '短信发放记录',
        designation: "通知管理"
      },
    },
    {
      path: '/configuration',
      name: 'configuration',
      component: resulte => require(['@/components/configuration/configuration'], resulte),
      meta: {
        needLogin: true,
        title: '忙时/闲时配置',
        designation: "忙时/闲时配置"
      },
    },
    {
      path: '/system',
      name: 'system',
      component: resulte => require(['@/components/system/system'], resulte),
      meta: {
        needLogin: true,
        title: '系统通知',
        designation: "通知管理"
      },
    },
    {
      path: '/configurations',
      name: 'configurations',
      component: resulte => require(['@/components/configurations/configurations'], resulte),
      meta: {
        needLogin: true,
        title: '到家首页配置',
        designation: "到家首页配置"
      },
    },
    {
      path: '/rotationConfig',
      name: 'rotationConfig',
      component: resulte => require(['@/components/rotationConfig/rotationConfig'], resulte),
      meta: {
        needLogin: true,
        title: '轮播图配置',
        designation: "到家首页配置"
      },
    },
    {
      path: '/vipConfig',
      name: 'vipConfig',
      component: resulte => require(['@/components/vipConfig/vipConfig'], resulte),
      meta: {
        needLogin: true,
        title: '金刚区配置',
        designation: "到家首页配置"
      },
    },
    {
      path: '/optionalConfig',
      name: 'optionalConfig',
      component: resulte => require(['@/components/optionalConfig/optionalConfig'], resulte),
      meta: {
        needLogin: true,
        title: '随心选配置',
        designation: "到家首页配置"
      },
    },
    {
      path: '/exclusive',
      name: 'exclusive',
      component: resulte => require(['@/components/exclusive/exclusive'], resulte),
      meta: {
        needLogin: true,
        title: '仅你专享配置',
        designation: "到家首页配置"
      },
    },
    {
      path: '/coupon',
      name: 'coupon',
      component: resulte => require(['@/components/discounts/coupon'], resulte),
      meta: {
        needLogin: true,
        title: '优惠卷管理',
        designation: "优惠券发放/使用记录"
      },
    },
    {
      path: '/unopened',
      name: 'unopened',
      component: resulte => require(['@/components/unopened/unopened'], resulte),
      meta: {
        needLogin: true,
        title: '未开通区域商品配置',
        designation: "服务商品管理"
      },
    },
    // 服务订单模块--list
    {
      path: '/ordersList',
      name: 'ordersList',
      component: resulte => require(['@/components/orders/ordersList'], resulte),
      meta: {
        needLogin: true,
        title: '服务订单列表',
        designation: '服务订单管理'
      }
    },
    {
      path: '/orderdetails',
      name: 'orderdetails',
      component: resulte => require(['@/components/orderdetails'], resulte),
      meta: {
        needLogin: true,
        title: '订单详情',
      },
    },
    {
      path: '/PackageListLi',
      name: 'PackageListLi',
      component: resulte => require(['@/components/PackageList/PackageListLi'], resulte),
      meta: {
        needLogin: true,
        title: '套餐列表',
        designation: "服务商品管理"
      },
    },
    {
      path: '/modify',
      name: 'modify',
      component: resulte => require(['@/components/PackageList/Add/modify'], resulte),
      meta: {
        needLogin: true,
        title: '新增套餐',
        designation: "服务商品管理"
      },
    },
    {
      path: '/editPackage',
      name: 'editPackage',
      component: resulte => require(['@/components/PackageList/Edit/edit'], resulte),
      meta: {
        needLogin: true,
        title: '修改套餐',
        designation: "服务商品管理"
      },
    },
    // 工单模块
    {
      path: '/workorderlist',
      name: 'workorderlist',
      component: resulte => require(['@/components/workorder/workorderlist'], resulte),
      meta: {
        needLogin: true,
        title: '工单列表',
        designation: '服务工单管理'
      }
    },
    {
      path: '/workorderdetails',
      name: 'workorderdetails',
      component: resulte => require(['@/components/workOrders/workOrderDetails'], resulte),
      meta: {
        needLogin: true,
        title: '工单详情',
        designation: '服务工单管理'
      }
    },
    // 系统配置
    {
      path: '/systemconfig',
      name: 'systemconfig',
      component: resulte => require(['@/components/systemconfig/systemconfig'], resulte),
      meta: {
        needLogin: true,
        title: '系统配置',
        designation: '系统管理'
      }
    },

    //支付管理
    {
      path: '/Payment',
      name: 'Paymentlist',
      component: resulte => require(['@/components/Payment/Paymentlist'], resulte),
      meta: {
        needLogin: true,
        title: '支付管理',
        designation: '支付渠道管理'
      }
    },
    {
      path: '/authentication',
      name: 'authentication',
      component: resulte => require(['@/components/authentication/authentication'], resulte),
      meta: {
        needLogin: true,
        title: '项目认证统计',
        designation: '运营管理'
      }
    },
    {
      path: '/recommend',
      name: 'recommend',
      component: resulte => require(['@/components/recommend/recommend'], resulte),
      meta: {
        needLogin: true,
        title: '管家邀请认证统计',
        designation: '运营管理'
      }
    },
    {
      path: '/invitePay',
      name: 'invitePay',
      component: resulte => require(['@/components/invitePay/invitePay'], resulte),
      meta: {
        needLogin: true,
        title: '管家邀请缴费统计',
        designation: '运营管理'
      }
    },
    {
      path: '/userManagement',
      name: 'userManagement',
      component: resulte => require(['@/components/userManagement/userManagement'], resulte),
      meta: {
        needLogin: true,
        title: '注册用户管理',
        designation: '用户管理'
      }
    },
    {
      path: '/owner',
      name: 'owner',
      component: resulte => require(['@/components/owner/owner'], resulte),
      meta: {
        needLogin: true,
        title: '业主管理',
        designation: '用户管理'
      }
    },
    {
      path: '/feedback',
      name: 'feedback',
      component: resulte => require(['@/components/feedback/feedback'], resulte),
      meta: {
        needLogin: true,
        title: '管家邀请认证统计',
        designation: '用户管理'
      }
    },
    {
      path: '/repairType',
      name: 'repairType',
      component: resulte => require(['@/components/repairType/repairType'], resulte),
      meta: {
        needLogin: true,
        title: '报事报修类型管理',
        designation: '服务管理'
      }
    },
    {
      path: '/repair',
      name: 'repair',
      component: resulte => require(['@/components/repair/repair'], resulte),
      meta: {
        needLogin: true,
        title: '报事报修管理',
        designation: '服务管理'
      }
    },
    {
      path: '/workOrderEvaluate',
      name: 'workOrderEvaluate',
      component: resulte => require(['@/components/workOrderEvaluate/workOrderEvaluate'], resulte),
      meta: {
        needLogin: true,
        title: '工单评价管理',
        designation: '服务管理'
      }
    },
    {
      path: '/pay',
      name: 'pay',
      component: resulte => require(['@/components/pay/pay'], resulte),
      meta: {
        needLogin: true,
        title: '缴费管理',
        designation: '服务管理'
      }
    },
    {
      path: '/houseDetail',
      name: 'houseDetail',
      component: resulte => require(['@/components/houseDetail/houseDetail'], resulte),
      meta: {
        needLogin: true,
        title: '房屋详情'
      },
    },
    {
      path: '/relatedBill',
      name: 'relatedBill',
      component: resulte => require(['@/components/relatedBill/relatedBill'], resulte),
      meta: {
        needLogin: true,
        title: '关联账单'
      },
    }, {
      path: '/relationUser',
      name: 'relationUser',
      component: resulte => require(['@/components/relationUser/relationUser'], resulte),
      meta: {
        needLogin: true,
        title: '关联用户'
      },
    },
    {
      path: '/imgShop',
      name: 'imgShop',
      component: resulte => require(['@/components/imgShop/imgShop'], resulte),
      meta: {
        needLogin: true,
        title: '图片素材'
      }
    },
    {
      path: '/ManagementHome',
      name: 'ManagementHome',
      component: resulte => require(['@/components/ManagementHome/homeRight'], resulte),
      meta: {
        needLogin: true,
        title: '首页配置（客户端）'
      }
    },
    {
      path: '/AppletHome',
      name: 'AppletHome',
      component: resulte => require(['@/components/AppletHome/homeRight'], resulte),
      meta: {
        needLogin: true,
        title: '首页配置（小程序）'
      }
    },
    {
      path: '/messageInfo',
      name: 'messageInfo',
      component: resulte => require(['@/components/ManagementHome/messageInfo'], resulte),
      meta: {
        needLogin: true,
        title: '通知列表'
      }
    },
    {
      path: '/kumgangInfo',
      name: 'kumgangInfo',
      component: resulte => require(['@/components/ManagementHome/kumgangInfo'], resulte),
      meta: {
        needLogin: true,
        title: '金刚区列表'
      }
    },
    {
      path: '/activity',
      name: 'activity',
      component: resulte => require(['@/components/ManagementHome/activity'], resulte),
      meta: {
        needLogin: true,
        title: '通知列表'
      }
    },
    {
      path: '/homeInfo',
      name: 'homeInfo',
      component: resulte => require(['@/components/ManagementHome/homeInfo'], resulte),
      meta: {
        needLogin: true,
        title: 'Banner列表'
      }
    },
    {
      path: '/welfare',
      name: 'welfare',
      component: resulte => require(['@/components/ManagementHome/welfare'], resulte),
      meta: {
        needLogin: true,
        title: '福利列表'
      }
    },
    {
      path: '/hotGoods',
      name: 'hotGoods',
      component: resulte => require(['@/components/ManagementHome/hotGoods'], resulte),
      meta: {
        needLogin: true,
        title: '热门商品列表'
      }
    },
    {
      path: '/personalcenter',
      name: 'personalcenter',
      component: resulte => require(['@/components/personalcenter/homeRight'], resulte),
      meta: {
        needLogin: true,
        title: '个人中心（客户端）'
      }
    },
    {
      path: '/myownerSmall',
      name: 'myownerSmall',
      component: resulte => require(['@/components/myownerSmall/homeRight'], resulte),
      meta: {
        needLogin: true,
        title: '个人中心(小程序)'
      }
    },

    {
      path: '/messageApplet',
      name: 'messageApplet',
      component: resulte => require(['@/components/AppletHome/messageApplet'], resulte),
      meta: {
        needLogin: true,
        title: '通知列表'
      }
    },
    {
      path: '/kumgangApplet',
      name: 'kumgangApplet',
      component: resulte => require(['@/components/AppletHome/kumgangApplet'], resulte),
      meta: {
        needLogin: true,
        title: '金刚区列表'
      }
    },
    {
      path: '/activityApplet',
      name: 'activityApplet',
      component: resulte => require(['@/components/AppletHome/activityApplet'], resulte),
      meta: {
        needLogin: true,
        title: '通知列表'
      }
    },
    {
      path: '/homeApplet',
      name: 'homeApplet',
      component: resulte => require(['@/components/AppletHome/homeApplet'], resulte),
      meta: {
        needLogin: true,
        title: 'Banner列表'
      }
    },
    {
      path: '/welfareApplet',
      name: 'welfareApplet',
      component: resulte => require(['@/components/AppletHome/welfareApplet'], resulte),
      meta: {
        needLogin: true,
        title: '福利列表'
      }
    },
    {
      path: '/hotGoodsApplet',
      name: 'hotGoodsApplet',
      component: resulte => require(['@/components/AppletHome/hotGoodsApplet'], resulte),
      meta: {
        needLogin: true,
        title: '热门商品列表'
      }
    },
    {
      path: '/getHomeActivity',
      name: 'getHomeActivity',
      component: resulte => require(['@/components/getHomeActivity/getHomeActivity'], resulte),
      meta: {
        needLogin: true,
        title: '活动列表'
      }
    },
    {
      path: '/homeActivityInfo',
      name: 'homeActivityInfo',
      component: resulte => require(['@/components/homeActivityInfo/homeActivityInfo'], resulte),
      meta: {
        needLogin: true,
        title: '活动配置'
      }
    },


    {
      path: '/propertyService',
      name: 'propertyService',
      component: resulte => require(['@/components/personalcenter/propertyService'], resulte),
      meta: {
        needLogin: true,
        title: '物业服务列表'
      }
    },
    {
      path: '/serviceOrder',
      name: 'serviceOrder',
      component: resulte => require(['@/components/personalcenter/serviceOrder'], resulte),
      meta: {
        needLogin: true,
        title: '服务订单列表'
      }
    },
    {
      path: '/userAsset',
      name: 'userAsset',
      component: resulte => require(['@/components/personalcenter/userAsset'], resulte),
      meta: {
        needLogin: true,
        title: '我的资产列表'
      }
    },
    {
      path: '/userOrder',
      name: 'userOrder',
      component: resulte => require(['@/components/personalcenter/userOrder'], resulte),
      meta: {
        needLogin: true,
        title: '用户订单列表'
      }
    },
    {
      path: '/userActivity',
      name: 'userActivity',
      component: resulte => require(['@/components/personalcenter/userActivity'], resulte),
      meta: {
        needLogin: true,
        title: '活动列表'
      }
    },
    {
      path: '/propertyServiceApplet',
      name: 'propertyServiceApplet',
      component: resulte => require(['@/components/myownerSmall/propertyServiceApplet'], resulte),
      meta: {
        needLogin: true,
        title: '物业服务列表'
      }
    },
    {
      path: '/serviceOrderApplet',
      name: 'serviceOrderApplet',
      component: resulte => require(['@/components/myownerSmall/serviceOrderApplet'], resulte),
      meta: {
        needLogin: true,
        title: '服务订单列表'
      }
    },
    {
      path: '/userAssetApplet',
      name: 'userAssetApplet',
      component: resulte => require(['@/components/myownerSmall/userAssetApplet'], resulte),
      meta: {
        needLogin: true,
        title: '我的资产列表'
      }
    },
    {
      path: '/userOrderApplet',
      name: 'userOrderApplet',
      component: resulte => require(['@/components/myownerSmall/userOrderApplet'], resulte),
      meta: {
        needLogin: true,
        title: '用户订单列表'
      }
    },

    {
      path: '/userActivityApplet',
      name: 'userActivityApplet',
      component: resulte => require(['@/components/myownerSmall/userActivityApplet'], resulte),
      meta: {
        needLogin: true,
        title: '活动列表'
      }
    },

    {
      path: '/generalImgShop',
      name: 'generalImgShop',
      component: resulte => require(['@/components/imgShop/generalImgShop'], resulte),
      meta: {
        needLogin: true,
        title: '通用图片素材'
      }
    },
    {
      path: '/userBehaviorData',
      name: 'userBehaviorData',
      component: resulte => require(['@/components/userBehaviorData/userBehaviorData'], resulte),
      meta: {
        needLogin: true,
        title: '用户行为数据'
      }
    },

    {
      path: '/couponUsageData',
      name: 'couponUsageData',
      component: resulte => require(['@/components/couponUsageData/couponUsageData'], resulte),
      meta: {
        needLogin: true,
        title: '优惠券使用数据'
      }
    },
    {
      path: '/staffUse',
      name: 'staffUse',
      component: resulte => require(['@/components/staffUse/staffUse'], resulte),
      meta: {
        needLogin: true,
        title: '员工资源占用'
      }
    },
    {
      path: '/admincreatedorder',
      name: 'admincreatedorder',
      component: resulte => require(['@/components/adminCreatedOrder/admincreatedorder'], resulte),
      meta: {
        needLogin: true,
        title: '代客录单'
      }
    },
    {
      path: '/receipt',
      name: 'receipt',
      component: resulte => require(['@/components/receipt/receipt'], resulte),
      meta: {
        needLogin: true,
        title: '收款单管理'
      }
    }

  ]
})
export default router
